c program to print table of given number